﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web;
using System.Web.Http;
using System.Web.Http.OData;
using System.Web.Http.OData.Query;
using WooCoo.DataPortal;
using WooCoo.DataPortal.WebHost.ODataServer;
using WooCooTest.Model;

namespace WebApiHost.Controllers
{
    public class ODataPortalController : ODataPortalControllerBase
    {
        public HttpResponseMessage PostUserInfoPOCO([FromBody]UserInfoPOCO user)
        {
            return Request.CreateResponse(HttpStatusCode.OK,user);
        }

        //public HttpResponseMessage PostUserInfo([FromBody]UserInfo user)
        //{
        //    return Request.CreateResponse(HttpStatusCode.OK, user);
        //}
    }
}